<template>
	<div class="child-conten">
		<p>{{msg}}</p>
		<button @click='emitMyEvent'>child-emit</button>
	</div>
</template>
<script>
export default {
	data(){
		return{
			msg: 'I am a components children B'
		}
	},
	methods:{
		emitMyEvent(){
			this.$emit('my-event',this.msg);
		}
	}
}

</script>
